package com.kelvin.caller.controller;

import com.kelvin.caller.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;

/***
 * @title UserController
 * @desctption <TODO description class purpose>
 * @author LTF
 * @create 2023/2/16 08:33
 **/
@RestController
@RequestMapping("/user")
public class UserController {

    @Autowired
    private UserService userService;

    @GetMapping("/getUserName")
    public Map getUserName() {
        return userService.getUserName();
    }

}
